#!/usr/bin/env bash
set -e # 这告诉bash一但有任何一个语句返回非真的值，则退出bash。

PROG_DIR=`dirname $0`
PROG_DIR=`cd "$PROG_DIR" && pwd`

. "$PROG_DIR/vic/privilege.sh"

vic_ensure_root_privilege "$@"

echo "$0"
echo "Has $# arguments:"
for arg in "$@"
do
    echo "$arg"
done
